package com.ruoyi.app.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 住院登记表
 * @TableName inpatient_register
 */
public class InpatientRegister implements Serializable {
    /**
     * 住院登记ID
     */
    private Long id;

    /**
     * 住院人ID
     */
    private Long patientId;

    /**
     * 住院号
     */
    private String inpatientNo;

    /**
     * 入院时间
     */
    private Date admissionTime;

    /**
     * 出院时间
     */
    private Date dischargeTime;

    /**
     * 状态：1住院中，2已出院
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 
     */
    private Integer hospitalId;

    /**
     * 
     */
    private Patient patient;

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    @Override
    public String toString() {
        return "InpatientRegister{" +
                "id=" + id +
                ", patientId=" + patientId +
                ", inpatientNo='" + inpatientNo + '\'' +
                ", admissionTime=" + admissionTime +
                ", dischargeTime=" + dischargeTime +
                ", status=" + status +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", hospitalId=" + hospitalId +
                ", patient=" + patient +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPatientId() {
        return patientId;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public String getInpatientNo() {
        return inpatientNo;
    }

    public void setInpatientNo(String inpatientNo) {
        this.inpatientNo = inpatientNo;
    }

    public Date getAdmissionTime() {
        return admissionTime;
    }

    public void setAdmissionTime(Date admissionTime) {
        this.admissionTime = admissionTime;
    }

    public Date getDischargeTime() {
        return dischargeTime;
    }

    public void setDischargeTime(Date dischargeTime) {
        this.dischargeTime = dischargeTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Integer hospitalId) {
        this.hospitalId = hospitalId;
    }

}